<template>
  <div class="bottom">
    <!-- 购物车icon -->
    <div class="carticon">
      <div class="circle">
        <van-icon name="shopping-cart" />
      </div>
    </div>

    <!-- 总价 -->
    <p class="totalprice">￥<span>0</span></p>

    <!-- 配送费 -->
    <p class="delivery">
      另需配送费￥4元
    </p>
    
    <!-- 起送 -->
    <p class="closing">
      ￥20起送
    </p>
  </div>
</template>

<script>
export default {
  name: "bottom"
};
</script>

<style lang="scss" scoped>
.bottom {
  width: 100%;
  display: flex;
  color: rgba(255, 255, 255, 0.4);
  position: relative;
  .carticon {
    width: 72px;
    height: 68px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: #141d27;
    padding: 12px;
    cursor: pointer;
    position: absolute;
    top: -10px;
    left: 18px;
    .circle {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
      background: rgba(255, 255, 255, 0.2);
      font-size: 24px;
    }
  }
  .totalprice {
    font-size: 26px;
    margin: 10px 12px 0 96px;
    font-weight: bolder;
    line-height: 40px;
  }
  .delivery{
    font-size: 14px;
    margin: 20px 0 0 12px;
  }
  .closing{
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    position: absolute;
    right: 0;
    display: flex;
    height: 110%;
    width: 100px;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
  }
}
</style>